import type { SogouElements } from '../../../../../../../../types/constants/personalization/sogou'
import { ThemeVarService } from '../../../../../../../../lib/abstract/style/theme_var/service'
import { PAGE_ELEMENTS, SUPPORTED_PLATFORMS } from '../../../../../../../../types/constants'

export class SogouNotFoundPage {
  elements: SogouElements = PAGE_ELEMENTS[SUPPORTED_PLATFORMS.SO_GOU]
  private static instance: SogouNotFoundPage
  protected readonly themeVarService: ThemeVarService = ThemeVarService.getInstance()

  /**
   * 获取单例实例
   */
  public static getInstance(): SogouNotFoundPage {
    if (!SogouNotFoundPage.instance) {
      SogouNotFoundPage.instance = new SogouNotFoundPage()
    }
    return SogouNotFoundPage.instance
  }

  init(): void {
  }

  getMainStyles(): string {
    return `
  hr {
    display: none !important;
  }
    `
  }
}
